package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Map;

public interface IOrganizationService {
    void saveOrUpdate(Organization entity);

    void delete(Long id);

    Organization get(Long id);

    List<Organization> listAll();

    PageResult query(QueryObject qo);

    void changeCooperation(Long id);

    List<Map<String,Object>> selectOrganizationInfo();
}
